put "If you edit anything, please do not distribute this stack."
wait 3 seconds
put "Type “Quiet!” to get rid of this distribution message."
end if
pass choose
end choose
on edit
distmsg
end edit
on newbutton
distmsg
end newbutton
on newfield
distmsg
end newfield
on domenu what
if what is "Card Info..." then
distmsg
end if
pass domenu
end domenu
on distmsg
exit distmsg
put"Unless you undo your last action, please don't distribute this stack."
wait 3 seconds
put"Type “Quiet” to geta rid of these distribution messages."
end distmsg
-- part 4 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=192 top=298 right=319 bottom=315
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Install HyperTest
----- HyperTalk script -----
on mouseUp
answer"Install the HyperTest button home?" with "Okay" or "Nah"
if it is "Nah" then exit mouseup
get the short name of this stack
put it into StackName
visual effect barn door close
go home
set the lockscreen to true
set the cursor to 4
domenu"New Button"
set the name of last button to "HyperTest"
set the AutoHilite of button "HyperTest" to true
set the icon of button "HyperTest" to 1020
set the ShowName of button "HyperTest" to true
set the style of button "HyperTest" to transparent
set the rect of button "HyperTest" to 206,140,276,190
put "on mouseup"&return into script
put"visual effect barn door open"&return after script
put"go to stack"&"e&stackname"e&return after script
put"end mouseup"&return after script
set the script of button "HyperTest" to script
end mouseUp
-- part 9 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=98 top=299 right=321 bottom=184
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Initialize
----- HyperTalk script -----
on mouseUp
if the number of cards<4 then
put"Sorry, but this stack seems to be missing some cards. Please do not"
wait 1 second
put"distribute it."
exit mouseup
end if
put the userlevel into user
set the userlevel to 5
if the userlevel <> 5 then
put"Please unprotect this stack first."
exit mouseup
end if
if card field"password" of last card is not empty then
ask password"What is the teacher password?"
if it is not card field"password" of last card then
answer"Only the teacher may initialize the stack."
exit mouseup
end if
end if
show msg box
set lockscreen to true
set the lockmessages to true
set the lockrecent to true
put "Deleting all cards except the first and last..."
if the number of cards > 4 then
repeat with i = 2 to the number of cards-3
go to card i
domenu"Delete Card"
end repeat
end if
put"Initializing teacher card..."
put empty into card field"password" of last card
put empty into card field "test" of last card
put empty into field"help" of last card
put empty into card field"required tests" of last card
go card 1
hide card field "Quiet!"
if card field "Quiet!" is true then
put"Un-“Quieting” the stack."
put "false" into card field "Quiet!"
put the script of this card into script
put offset("exit choose",script) into off
delete char off to off+12 of script
put offset ("pass choose",script) into off
delete char off to off+11 of script
repeat 4 times
set the script of this card to script
go next card
end repeat
end if
put"Initializing test cards..."
go to card 1
put "Trivia Quiz" into field"TestName"
go to card 2
put empty into field"TestName"--Sorry, I hadn’t realized the
put empty into field"Test Name"--similarity. The top line is the file
go to card "Help" --name, and the bottom is the name
put"Compacting stack..." --displayed at the top of a test card.
domenu"Compact Stack"
put "This stack may now be distributed."
set the userlevel to user
end mouseUp
-- part 19 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=49 top=36 right=55 bottom=81
-- title width / last selected line: 0
-- icon id / first selected line: 1009 / 1009
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Create Test
----- HyperTalk script -----
on mouseUp
global allow
if card field "password" of last card is empty then
put true into allow
ask password"Please choose a teacher password:"
if it is empty then
put false into allow
exit mouseup
end if
go last card
put it into card field"password"
exit mouseup
else
ask password"What’s the password?"
if it is empty then exit mouseup
if it is not card field"password" of last card then
answer"Nope! Sorry..."
exit mouseup
end if
put true into allow
end if
visual effect dissolve
go last card
end mouseUp
-- part 20 (field)
-- low flags: 01
-- high flags: 0001
-- rect: left=286 top=27 right=59 bottom=445
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 2
-- text size: 24
-- style flags: 0
-- line height: 32
-- part name:
-- part 21 (button)
-- low flags: 00
-- high flags: 2001
-- rect: left=9 top=35 right=63 bottom=42
-- title width / last selected line: 0
-- icon id / first selected line: 20098 / 20098
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Home
----- HyperTalk script -----
on mouseUp
visual effect dissolve
go home
end mouseUp
-- part 23 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=325 top=297 right=319 bottom=425
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Find
----- HyperTalk script -----
on mouseUp
domenu"Find..."
end mouseUp
-- part 24 (button)
-- low flags: 00
-- high flags: 2000
-- rect: left=51 top=301 right=323 bottom=90
-- title width / last selected line: 0
-- icon id / first selected line: 30557 / 30557
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: New Button
----- HyperTalk script -----
on mouseUp
visual effect iris close
go first card
end mouseUp
-- part 26 (field)
-- low flags: 81
-- high flags: 0000
-- rect: left=156 top=120 right=205 bottom=356
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Notes
-- part contents for background part 1
----- text -----
Welcome to HyperTest version 5.5! This stack is a testing program. A teacher, parent, or even the student types in the test, and then the student can take it. Has MANY features, more than even a pencil and paper test.
First, the student instructions:
The student opens up HyperTest by double-clicking on it’s icon in the FInder. Then you are confronted with a test card. The name of the test is at the top. If this is the first time you are using HyperTest, the words “Trivia Quiz” should be at the top. IF A DIALOG BOX, sthe standard “Open” dialog box, appears, show HyperTest where the file Trivia Quiz is. This dialog box will not come up if you have Trivia Quiz in the same folder as HyperCard, however. HyperTest will remember where Trivia Quiz is, until you change tests.
Say you opened up HyperTest, and you wanted to take a different test that you had already made. You would then click in the small button icon (on the right of the eye on the left side of the screen.) HyperTest will ask you if you wanbt to change tests, and then ask you where the new test is. You will then be ready to take the test. Click in “Test Me!” to begin the test.
The teacher has the priviledge to make a certain test “required”. That means that when you load up HyperTest, it will go straight to a certain test and automatically click “Test Me!” If you try to leave, the teacher will be informed.
Teacher instructions:
The “teacher” is whoever gets to the teacher card first, so I suggest that thre real teacher go there as soon as you finish reading these instructions. To get to the teacher card, click on the eye icon anywhere inside HyperTest. HyperTest will ask you what the password is, or, if none exists, will ask you t make up a password. REMEMBER THIS PASSWORD, so that you can get in to the teacher card in the future. You can change the password by clicking on Bill in the teacher card.
Once in the teacher card, you have a number of options. But first, I should explain the format of the test.
You type in the test into that big field. The first line should be whatever you want to call the test. That is not necesarily the file name. That is what appears at the top of the test screen.
After that, you alternate question, answer. For example, the first thre lines of a quiz could look like this:
Science Quiz—Chapter 10
What are xylem?
Tubes in a tree that transport water throughout the tree.
I admit—how is a student going to know the exact wording of such a long answer as that? So, there is a multiple choice feature. In the answer line, you would type an M and then a space, and type in up to four answers (there can be fewer, but no more), seperated by commas. After your last answer, put a comma, and put the right answr. For example:
Science Quiz—Chapter 10
What are xylem?
M Little doo-dads,A new type of toy,Parts of a tree,Parts of a tree
There were three choices there. The last choice is always the answer. In most tests, not all questions are worth the same number of points. By default, each question in HyperTest is worth one point, but you can change that with the P (for points) command. For example (just the question and answer, this time):
P 10,What are xylem?
Little doo-dads.
The question is worth 10 points, and in this case, the answer is “Little doo-dads!” Notice the comma between the 10 and the What.
Now, if you don’t understand this, don’t worry. There is a button at the bottom labelled Automate. Just click it, answer it’s questions, and it will form one of these questions for you.
There is one mopre command, which “Automate” can’t form. The hint command. To give somebody a hint: (N for note):
WHat are xylem?
N They’re somewhere on a tree,Little doo-dads.
Notcie that you can’t have a comma in the hint, because that’s what seperates the hint from the answer. Notice here that the answer is “Little doo-dads.” If you leave out the period, it is wrong. You CAN have something like this:
What are xylrm?
N They’re neat!,M Little doo-dads,Space cadets,Parts of a tree,modems,Parts of a tree
The hint MUST go first, however.
To save your test, click in “Save.” To load a test, click “Load Test”
Save can do two things. If you can see the test, then it will save the test. But if you can see the test scores (by clicking in Get Scores), it will save the scores. To clear the scores, press “Clear Scores”.
You can make a test “required” —everybody has to take it—by clicking in “Required Test” and doing what it asks you. To make a test non-required, edit the list and delete whatever it says in it. To hide the list, hold the option key down and click in “Required Test.”
The teacher has one more privledge. The teacher can write a note to someone. You do this by clicking in “Make Note”. ANswer it’s questions, and then delete the top line of the field when you have read it. Type in your note, and click in “Send Note”. When the person who it was to tries to take a test, he will find himself in the help card, reading his note.
Summary of icons:
Left arrow : go to the previous card
Right arrow: go to the next card
left arrow with line: go to the first card
The arrow at the upper-right hand corner of this card : go back to where you came from
Eye: Go to the teacher card
Home: Go to the home stack.
I encourage you to re-distribute this, but please click “Initialize” on the copy that you’re going to give away, first. To install HyperTest into the Home stack, click “Install HyperTest”.
Please send comments and/or suggestions to my address:
Tommy Brown
109-14 Ascan Ave.
Forest Hills, NY, 11375
GEnie: P.L.Cooper
I can also be reached at: Metro Area Mac Users Group: (212) 597-9083
I will be immensly happy if you send your comments.